package com.itheima.date.myexce;

public class ExceptionDemo2 {
    public static void main(String[] args) {
        int[] arr = new int[3];
        System.out.println(arr[0]);
        try {
            System.out.println(arr[3]);
        } catch (Exception e) {
            System.out.println("抓捕归案");
        }
        System.out.println("Hello,JVM!");

       /* try {

        }catch (){
            System.out.println("抓捕归案");
        }*/
    }
}
